package com.wx.fresh.common.enums;

public enum OrderResultCode {
    ORDER_TO_BE_PAID(0, "待支付"),
    ORDER_TO_BE_CONFIRMED(1, "待确认"),
    ORDER_TO_BE_SHIPPED(2, "待发货"),
    ORDER_SHIPPED(3, "已发货"),
    ORDER_COMPLETED(5, "已完成");

    private final int code;
    private final String msg;

    OrderResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}